/**
 * Copyright 2015-2016 eyaomall.cn
 * All rights reserved.
 *
 * @project
 * @author jackey
 * @version 1.0
 * @date 2016-01-06
 */
package com.eyaomall.wxmall.dao;

import org.springframework.stereotype.Repository;

import com.eyaomall.wxmall.model.po.DiscountRelation;
import com.lycheeframework.core.annotation.NameSpace;
import com.lycheeframework.core.support.DaoSupport;
/**
 * GoodsDao
 * @author pro
 *
 */
@Repository
@NameSpace("discount_relation")
public class DiscountRelationDao extends DaoSupport<DiscountRelation>{

	public DiscountRelation queryLogByDiscountIdAndPhone(Integer discountid, String phone) {
		DiscountRelation vo=new DiscountRelation();
		vo.setDiscountId(discountid);
		vo.setPhone(phone);
		return (DiscountRelation) super.query("queryLogByDiscountIdAndPhone",vo);
	}
	

}
